package provisioner.algorithm;

import java.util.Collection;

import jp.aist.gtrc.plus.scheduler.node.NodeInfo;
import jp.aist.gtrc.plus.scheduler.status.JobStatus;

public interface Scheduler {

        public void preSchedule(Collection<JobStatus> jobs, Collection<NodeInfo> nodes);
        public Collection<Allocation> doScheduling(Collection<JobStatus> jobs, Collection<NodeInfo> nodes);
        public void postSchedule(Collection<JobStatus> jobs, Collection<NodeInfo> nodes, Collection<Allocation> allocs);

}
